Cloudinary\UI\Component B

Total Complexity 88
Dependencies 2
Dependents 1
Total lines 836
Lines of code 443
Logical lines of code 196
Comment lines 296
Methods 36
Properties 8

Methods 36

Method Rating Maintainability Complexity Lines of code
setup_component_parts()
S
37 2 103
has_content()
S
60 7 12
prepare_struct_array()
S
56 5 18
init()
S
57 4 17
conditional()
S
57 4 16
build_attributes()
S
59 4 14
compile_part()
S
61 4 12
settings()
S
62 4 11
__construct()
S
51 3 25
build_struct()
S
57 3 17
get_part()
S
57 3 17
render()
S
58 3 16
build_tag()
S
63 4 10
get_state()
S
60 3 14
__call()
S
62 3 11
tooltip()
S
56 2 19
add_content()
S
68 3 7
is_struct_array()
S
77 3 3
is_void_element()
S
57 1 19
close_tag()
S
71 2 5
open_tag()
S
71 2 5
handle_structure()
S
74 2 5
compile_structures()
S
73 2 5
icon()
S
66 2 8
is_enabled()
S
68 2 7
sanitize_value()
S
80 1 3
body()
S
76 1 4
register_component_part()
S
65 1 9
is_component_type()
S
74 1 4
image_icon()
S
72 1 5
compile_tag()
S
74 1 4
compile_html()
S
75 1 4
enqueue_scripts()
S
91 1 2
dashicon()
S
70 1 6
title()
S
75 1 4
pre_render()
S
91 1 2